class Login_data:
    login_success = [
        {"user": "408848063@qq.com", "pwd": "nmb_python", "expected": "登录成功"}

    ]
    login_fail = [
        {"title": "用户密码错误", "user": "408848062@qq.com", "pwd": "nmb_python", "expected": "用户名或密码无效"},
        {"title": "用户密码错误", "user": "408848063@qq.com", "pwd": "nmb_python1", "expected": "密码错误, 你还可以尝试4次"},
        {"title": "用户为空", "user": "", "pwd": "nmb_python", "expected": "账号不能为空"},
        {"title": "密码为空", "user": "408848063@qq.com", "pwd": "", "expected": "密码不能为空"}
    ]


class Index_data:
    except_test_data = [
        # 加课码少于6位
        {"title": "验证码错误", "course_code": "73Z82", 'expected': "加课验证码必须是6位字符"},
        # 加课码错误
        {"title": "验证码不存在", "course_code": "000000", 'expected': "该加课码不存在或者已经失效"},
    ]
